#include "FogState.h"

RenderState::Type FogState::get_type() const
{
	return GL_FOG;
}

FogState::FogState() : m_color(Color::BLACK)
{
	m_enabled = false;
	m_start = 0.0;
	m_end = 1.0;
	m_density = 1.0;
	m_dfunction = GL_LINEAR;
	m_afunction = GL_PER_VERTEX;
}


